import axios from 'axios';
import {req} from "./axiosFun";
/**
 * 错误日志管理
 **/
// 错误日志管理-获取用户列表
export const errorLogList = (params) => { return req("post", "/api/errorLog/list/page", params) };

// 错误日志管理-保存
export const errorLogSave = (params) => { return req("post", "/api/errorLog/save", params) };
// 错误日志管理-编辑
export const errorLogEdit = (params) => { return req("post", "/api/errorLog/edit", params) };

// 错误日志管理-删除用户
export const errorLogDelete = (params) => { return axios.delete("/api/errorLog/del/" + params).then(res => res.data) };

// 错误日志管理-批量删除
export const errorLogBatchDel = (params) => { return req("post", "/api/errorLog/del/batch", params) };
